package com.dyh.quickdemo.bizDemo.concM;

import com.alibaba.fastjson.JSON;
import org.junit.jupiter.api.Test;

/*
@Author=Joey Wheeler
@Date=2021/3/2 14:33
*/
public class ShopSendContextTest {
    @Test
    public void test(){
        ShopSendContext.Shop shop =
                new ShopSendContext.Shop(1L,"A");

        String temp = JSON.toJSONString(shop);

        ShopSendContext.Shop shop1 = JSON.parseObject(temp, ShopSendContext.Shop.class);

        System.out.println();
    }
}
